package com.fuxi.cloud.desreport.entity;

/**
 * JimuReportLink
 *
 * @Author: 扫地僧
 * @CreateTime: 2021-05-03
 */
public class JimuReportLink {
    private String id;
    private String reportId;
    private Object parameter;
    private String ejectType;
    private String linkName;
    private String apiMethod;
    private String linkType;
    private String apiUrl;

    public JimuReportLink() {
    }

    public String getId() {
        return this.id;
    }

    public String getReportId() {
        return this.reportId;
    }

    public Object getParameter() {
        return this.parameter;
    }

    public String getEjectType() {
        return this.ejectType;
    }

    public String getLinkName() {
        return this.linkName;
    }

    public String getApiMethod() {
        return this.apiMethod;
    }

    public String getLinkType() {
        return this.linkType;
    }

    public String getApiUrl() {
        return this.apiUrl;
    }

    public JimuReportLink setId(String id) {
        this.id = id;
        return this;
    }

    public JimuReportLink setReportId(String reportId) {
        this.reportId = reportId;
        return this;
    }

    public JimuReportLink setParameter(Object parameter) {
        this.parameter = parameter;
        return this;
    }

    public JimuReportLink setEjectType(String ejectType) {
        this.ejectType = ejectType;
        return this;
    }

    public JimuReportLink setLinkName(String linkName) {
        this.linkName = linkName;
        return this;
    }

    public JimuReportLink setApiMethod(String apiMethod) {
        this.apiMethod = apiMethod;
        return this;
    }

    public JimuReportLink setLinkType(String linkType) {
        this.linkType = linkType;
        return this;
    }

    public JimuReportLink setApiUrl(String apiUrl) {
        this.apiUrl = apiUrl;
        return this;
    }

    @Override
    public String toString() {
        return "JimuReportLink(id=" + this.getId() + ", reportId=" + this.getReportId() + ", parameter=" + this.getParameter() + ", ejectType=" + this.getEjectType() + ", linkName=" + this.getLinkName() + ", apiMethod=" + this.getApiMethod() + ", linkType=" + this.getLinkType() + ", apiUrl=" + this.getApiUrl() + ")";
    }

    @Override
    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof JimuReportLink)) {
            return false;
        } else {
            JimuReportLink var2 = (JimuReportLink)o;
            if (!var2.canEqual(this)) {
                return false;
            } else {
                label107: {
                    String var3 = this.getId();
                    String var4 = var2.getId();
                    if (var3 == null) {
                        if (var4 == null) {
                            break label107;
                        }
                    } else if (var3.equals(var4)) {
                        break label107;
                    }

                    return false;
                }

                String var5 = this.getReportId();
                String var6 = var2.getReportId();
                if (var5 == null) {
                    if (var6 != null) {
                        return false;
                    }
                } else if (!var5.equals(var6)) {
                    return false;
                }

                Object var7 = this.getParameter();
                Object var8 = var2.getParameter();
                if (var7 == null) {
                    if (var8 != null) {
                        return false;
                    }
                } else if (!var7.equals(var8)) {
                    return false;
                }

                label86: {
                    String var9 = this.getEjectType();
                    String var10 = var2.getEjectType();
                    if (var9 == null) {
                        if (var10 == null) {
                            break label86;
                        }
                    } else if (var9.equals(var10)) {
                        break label86;
                    }

                    return false;
                }

                label79: {
                    String var11 = this.getLinkName();
                    String var12 = var2.getLinkName();
                    if (var11 == null) {
                        if (var12 == null) {
                            break label79;
                        }
                    } else if (var11.equals(var12)) {
                        break label79;
                    }

                    return false;
                }

                label72: {
                    String var13 = this.getApiMethod();
                    String var14 = var2.getApiMethod();
                    if (var13 == null) {
                        if (var14 == null) {
                            break label72;
                        }
                    } else if (var13.equals(var14)) {
                        break label72;
                    }

                    return false;
                }

                String var15 = this.getLinkType();
                String var16 = var2.getLinkType();
                if (var15 == null) {
                    if (var16 != null) {
                        return false;
                    }
                } else if (!var15.equals(var16)) {
                    return false;
                }

                String var17 = this.getApiUrl();
                String var18 = var2.getApiUrl();
                if (var17 == null) {
                    if (var18 != null) {
                        return false;
                    }
                } else if (!var17.equals(var18)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof JimuReportLink;
    }

    @Override
    public int hashCode() {
        boolean var1 = true;
        byte var2 = 1;
        String var3 = this.getId();
        int var11 = var2 * 59 + (var3 == null ? 43 : var3.hashCode());
        String var4 = this.getReportId();
        var11 = var11 * 59 + (var4 == null ? 43 : var4.hashCode());
        Object var5 = this.getParameter();
        var11 = var11 * 59 + (var5 == null ? 43 : var5.hashCode());
        String var6 = this.getEjectType();
        var11 = var11 * 59 + (var6 == null ? 43 : var6.hashCode());
        String var7 = this.getLinkName();
        var11 = var11 * 59 + (var7 == null ? 43 : var7.hashCode());
        String var8 = this.getApiMethod();
        var11 = var11 * 59 + (var8 == null ? 43 : var8.hashCode());
        String var9 = this.getLinkType();
        var11 = var11 * 59 + (var9 == null ? 43 : var9.hashCode());
        String var10 = this.getApiUrl();
        var11 = var11 * 59 + (var10 == null ? 43 : var10.hashCode());
        return var11;
    }
}
